package com.julius.design.pattern.builder;

/**
 * <p>
 *      套餐构建者
 * </p>
 */
public class MealBuilder {


    /**
     * 全素套餐
     * @return
     */
    public Meal vegMeal(){
        Meal meal = new Meal();
        return meal.append(new VegBurger()).append(new OrangeDrink());
    }


    /**
     * 鸡肉套餐
     * @return
     */
    public Meal chickenMeal(){
        Meal meal = new Meal();
        return meal.append(new ChickenBurger()).append(new CokeDrink());
    }
}
